#定义字典
my_dic1={"王力宏":99,"周杰伦":88,"林俊杰":77}

#定义空字典，字典不允许重复
my_dic2={}

print(f"字典1的内容是{my_dic1},类型是{type(my_dic1)}")
print(f"字典2的内容是{my_dic2},类型是{type(my_dic2)}")

#从字典中获取考试分数
score=my_dic1["周杰伦"]
print(f"周杰伦的考试分数为{score}")

score1=my_dic1["林俊杰"]
print(f"林俊杰的考试分数为{score1}")